﻿//====================================================================
// Create by Daniel
// file： YCModuleFeedback.cs
// project ：YunCMS
// Build time：2012-09-18
// modify:
// description:
// ===================================================================
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using YunCMS.Model;

namespace YunCMS.IDAL
{
    /// <summary>
    /// DAL YCModuleFeedback Interface
    /// </summary>
    public interface IYCModuleFeedbackDAL
    {
		/// <summary>
        /// Insert a YCModuleFeedback
        /// </summary>
        int Add(Model.YCModuleFeedback model);

        /// <summary>
        /// update a YCModuleFeedback
        /// </summary>
        int Update(Model.YCModuleFeedback model);

        /// <summary>
        /// delete a YCModuleFeedback
        /// </summary>
        int Delete(int id);

        /// <summary>
        /// get the max YCModuleFeedback
        ///</summary>
        //int GetMaxId();

        /// <summary>
        /// IsExists?
        /// </summary>
        bool IsExist(int id);

        /// <summary>
        /// Get one YCModuleFeedback
        /// </summary>
        Model.YCModuleFeedback GetYCModuleFeedback(int id);

        /// <summary>
        /// Get YCModuleFeedback List
        /// </summary>
        IList<Model.YCModuleFeedback> GetList(string strSql);
      
    }
}



